<!--
 * @Description: 
 * @Autor: zhangbing
 * @Date: 2021-07-31 20:07:43
 * @LastEditors: zhangbing
 * @LastEditTime: 2021-07-31 20:14:40
-->

<template>
  <transition>
    <slot></slot>
  </transition>
</template>

<script>
export default {
  name: "Fade",
  data() {
    return {};
  },
  created() {},
  mounted() {},
  methods: {},
};
</script>

<style lang="stylus" scoped>

.v-enter, .v-leave-to {
  opacity: 0
}

.v-enter-active, .v-leave-active {
  transition : opacity 1s
}

</style>

